package dk.dtu.is.jjmvcp.service;

/**
 * It represents the abstraction for any kind of service that is being used to retrieve a Bean from a remote/local location.
 * 
 * Each and every <i>service</i> should implement this interface. </br>
 * Methods are self explanatory and full details are provided and explained in the {@link RandomService RandomService} class. 
 * 
 * @author dsac
 *
 */
public interface iService {
	
	public abstract void openConnection();
	public abstract void closeConnection();
	
	public abstract void startPolling();
	public abstract void stopPolling();
	
	public long getPollingPeriod();
	public void setPollingPeriod(long milliseconds);
}
